FROM java:8
LABEL maintainer="研究院研发组 shenkunlin@itcast.cn"
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
ADD ./order-0.0.1-SNAPSHOT.jar /app.jar
WORKDIR /
EXPOSE 18083
ENTRYPOINT ["nohup","java","-jar","-Xms512m","-Xmx512m","-XX:PermSize=512M","-XX:MaxPermSize=512m","/app.jar","&"]